home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene 96
/
Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso
/
misc
/
coding
/
dos32xtn
/
inst_bin.bat
< prev
next >
Wrap
DOS Batch File
|
1996-09-20
|
1KB
|
33 lines
@echo off
cls
echo.
echo This batch installs the standart library + linker for DJGPP+DOS32.
echo It must be located in the DJGPP base dir. The binary directory is
echo assumed to be BIN, the standart library LIB. It will overwrite the
echo old ld.exe and stubify.exe. THE NEW VERSIONS CAN STILL CREATE GO32
echo EXECUTABLES. A new include directory INCDOS32 and a new library
echo directory LIBDOS32 will be created. The djgpp environment file
echo djgpp.env must also reside in the base dir.
echo.
if not exist bins.zip goto error1
if exist bin\gcc.exe goto notrouble1
echo PROBLEMS TO INDENTIFY THE BIN DIRECTORY. PRESS #CRTL-BREAK# TO EXIT
echo OR #RETURN# TO CONTINUE.
pause
:notrouble1
if exist lib\libc.a goto notrouble2
echo PROBLEMS TO INDENTIFY THE LIB DIRECTORY. PRESS #CRTL-BREAK# TO EXIT
echo OR #RETURN# TO CONTINUE.
pause
:notrouble2
md LIBDOS32
copy /B LIB\*.* LIBDOS32\
pkunzip -d -o BINS.ZIP
echo --------========== INSTALLING DONE =========----------
echo Type swap to switch between dos32 and go32 output.
goto end
:error1
echo BINS.ZIP NOT FOUND ! Copy it to the djgpp base dir !
goto end
:end